package com.yonyou.cyxdms.sysAuth.service.constants;

public class SysAuthCommonConstants {
    private SysAuthCommonConstants() {
    }
    //退出认证code
    public static final String AUTHORIZATION_CODE = "3a863974aa4bef6ba71c";

    public static final Integer ERROR_CODE = 998;

    public static final Integer OT_CODE = 997;

    public static final Integer ERROR_CODE_996 = 996;

    //当前身份证号绑定人员过多
    public static final Integer ERROR_CODE_994 = 994;

    //账号离职
    public static final Integer ERROR_CODE_995 = 995;

    public static final String EXISTS_APPID = "站点不存在！";

    public static final String EXISTS_USER = "用户不存在！";

    public static final String CAN_NOT_LOGIN = "用户名/手机号不存在！";

    public static final String PHONE_NOT_BINDING = "手机号未绑定！";

    public static final String PHONE_NOT_ERROR = "存在相同手机号，无法登录！";

    public static final String USER_INVALID = "登录账号无效，不能登录！";

    public static final String LOGIN_LOCK = "账号已被锁定，请联系系统管理员解锁！";

    public static final String IDENTIFYING_ERROR= "验证码输入错误！";

    public static final Long EXPIRE_TIME_ONE_WEEK = 1000 * 60 * 60 * 24L *7;
    public static final Long EXPIRE_TIME_ONE_DAY = 1000 * 60 * 60 * 24L;
    public static final Long EXPIRE_TIME_ONE_HOUR = 1000 * 60 * 60L;

    // 验证码
    public static final String VERIFICATION_CODE = "cyxdms:sysAuth:verification";

    //注册
    public static final short SEND_MSG_1 = 1;
    //登录
    public static final short SEND_MSG_2 = 2;
    //忘记密码
    public static final short SEND_MSG_3 = 3;
    //微信登录验证
    public static final short SEND_MSG_4 = 4;
    //短信验证码有效时间分钟
    public static final String SMS_VALID_MINUTE = "5";
    //短信验证码有效校验次数
    public static final int SMS_VALID_TIME = 5;
    //短信验证码校验有效期分钟
    public static final int SMS_CHECK_TIME = 5;

    //默认密码
    public static final String LOGIN_PW = "a12345678";
    //通知
    public static final String NOTICE_TZ = "TZ";
    //公告
    public static final String NOTICE_GG = "GG";

    public static final String JWT_CLIENT_DELIMITER = ":>";

    public static final String JWT_CLIENT_LOGINWAY_PC = "pc";

    public static final String JWT_CLIENT_LOGINWAY_APP = "APP";

    // 子系统jwt缓存：apppId-->hset userId
    public static final String SUB_JWT = "cyxdms:sysManage:subjwt:{0}:{1}";

    //ios包上传用
    public static final String TITLE = "title";

    public static final String BUNDLE_ID = "bundleId";

    public static final String PLIST_FILE = "file";

    //发送消息默认app名称
    public static final String APP_NAME = "appName";



}
